package main

import "fmt"

func main(){
	mm:=map[int]string{1:"a",2:"b",3:"c"}
	fmt.Println(mm)
	b:=mm[2]
	mm[2]=b+"2"
	mm[4]=""
	for i:=0;i<=len(mm)+1;i++{
		value,include:=mm[i]
		if include{
			fmt.Printf("mm[%d]=%s\n",i,value)
		}else{
			fmt.Printf("mm[%d] not found, default value=%s\n",i,value)
		}
	}
	delete(mm,2)
	fmt.Println(mm)
	var mm2 map[string]int
	fmt.Println(mm2,mm2 == nil)
}